// index.vue 路由模块
export default [{
  path: '/app',
  name: 'app',
  component: () => import('./Index.vue'),
  redirect: '/shop',
  children: [{
      path: '/shop',
      name: "shop",
      component: () => import('./Shop.vue'),
      icon: "icon-dianying",
      text: "会员购"
    },
    {
      path: '/category',
      name: "category",
      component: () => import('./Category.vue'),
      icon: "icon-boke",
      text: "分类"
    },
    {
      path: '/cart',
      name: "cart",
      component: () => import('./Cart.vue'),
      icon: "icon-shangpin",
      text: "购物车",
    },
    {
      path: '/mine',
      name: "mine",
      component: () => import('./Mine.vue'),
      icon: "icon-zixun",
      text: "我的"
    },
  ]
}]

// 配完要在主路由中导入
